<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>content.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
        <!--[if IE]>
			<link rel="stylesheet" href="css/fixed_ie.css" type="text/css" />
		<![endif]-->
    <link rel="stylesheet" type="text/css" href="css/nav.css">
    <link rel="stylesheet" type="text/css" href="css/newscon.css">
	<link rel="stylesheet" type="text/css" href="css/960.css">
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/text.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/nav.js"></script>
  </head>
   <body>
  	<!--顶部图片 -->
    <div class="container_12 top" ></div>
    <!-- 导航栏 -->
    <div class="container_12 menu">
 <ul id="jsddm">
	<li><a href="index.html">首页</a></li>
	<li><a href="xibugaikuang.html">系部概况</a></li>
	<li><a href="dangtuangongzuo.html">党团工作</a></li>
	<li><a href="benkejiaoyu.html">本科教育</a></li>
	<li><a href="xueshenggongzuo.html">学生工作</a></li>
	<li><a href="shiziduiwu.html">师资队伍</a></li>
	<li><a href="keyanshijian.html">科研实践</a></li>
</ul>
<div class="clear"> </div>
</div>
<div class="container_12">
<div class="bcnav">
<a href="index.html">首页</a><a href="#" class="bcn"></a>
</div>
</div>
<div class="container_12">
<div class="cbox">
<h2  class="title"></h2>
<div class="info">
作者：<span class="auther"></span>创建时间：<span class="date"></span>分类：<span class="category"></span> 
</div>
<div class="content">

</div>
</div>

</div>
<div class="container_12 footer"><div class="text">版权所有® 青岛工学院土木工程系. All rights reserved</div></div>
<script type="text/javascript">
function re(str){
switch(str){
	case "xw":$(".category").html("新闻中心");$(".bcn").html(">新闻中心");break;
	case "tzgg":$(".category").html("通知公告");$(".bcn").html(">通知公告");break;
	case "wdxz":$(".category").html("文档下载");$(".bcn").html(">文档下载");break;
	case "jxgz":$(".category").html("教学工作");$(".bcn").html(">教学工作");break;
	case "wxts":$(".category").html("温馨提示");$(".bcn").html(">温馨提示");break;
	case "jyxx":$(".category").html("就业信息");$(".bcn").html(">就业信息");break;
	case "xshd":$(".category").html("学生活动");$(".bcn").html(">学生活动");break;
	case "xsbg":$(".category").html("学术报告");$(".bcn").html(">学术报告");break;
	case "hzjl":$(".category").html("合作交流");$(".bcn").html(">合作交流");break;
	case "kylx":$(".category").html("科研立项");$(".bcn").html(">科研立项");break;
	case "kygz":$(".category").html("科研工作");$(".bcn").html(">科研工作");break;
	case "xslw":$(".category").html("学术论文");$(".bcn").html(">学术论文");break;
	default:$(".category").html("新闻中心");$(".bcn").html(">新闻中心");break;
}
}
</script>
    <script type="text/javascript"> 
    //新闻列表分页
    var i=0;
    var title;
    var str=this.location.href;
	var myArray = new Array();
	myArray =str.split("=");
	$.ajax({
   		url: "showOneNewsAction.do?id="+myArray[1],
   		type:'get',
   		dataType:'json',
   		async: false,
   		success: function(msg){
			$(".title").append(
				msg.news[0].title);
			$(".auther").append(
					msg.news[0].author);	
			$(".date").append(
					msg.news[0].date.toString());
			$(".content").append(
					msg.news[0].content);
	     	
			$(".category").append(
					re(msg.news[0].c_id));
 	}
   		
   		});
</script>

  </body>
</html>
